<div class="displaysingle">
	<?php
		$firstname = $person->getFirstname();
		$lastname = $person->getLastname();
		$description = $person->getDescription();
	?>
	<h2><?php echo $firstname . " " . $lastname ?></h2>
	<p><?php echo $description ?></p>
	<div class="castandcrew">
		<ul>
		<?php 
			// Display shows where person was a crewmember
			foreach($crew as $crewmember) :
			$type = $crewmember->getTheType();
			$showID = $crewmember->getShowID();
			$this->load->model('displayHandler');
			$show = $this->displayHandler->getShowByID($showID);
			$name = $show->getname();
			?> <li> <?php
			echo $type . " of ";
			echo anchor("displaySingle/Show/$showID", $name);
			?> </li> <?php
			endforeach;
		?>
		</ul>
		<h3>Actor:</h3>
		<ul>
		<?php 
			// Display castmembers and their characternames. 
			foreach($cast as $castmember) :
			$characterName = $castmember->getCharacterName();
			$showID = $castmember->getShowID();
			$show = $this->displayHandler->getShowByID($showID);
			$name = $show->getName();
			?> <li> <?php
			echo anchor("displaySingle/Show/$showID", $name);
			echo "<p class='listextra'> (" . $characterName . ")</p>";
			?> </li> <?php
			endforeach;
		?>	
		</ul>
	</div>
</div>